<?php
namespace app\api\controller;

use \think\Db;
class Index
{
    public function index()
    {
        $rs=Db::name('article')->limit(0,5)->field('id,title')->select();
		//print_r($rs);
		return $rs;
    }
}
